package geographer;
import java.io.IOException;

import mvc.AddDialog;
import mvc.EditDialog;
import mvc.RegionController;
import mvc.RegionModel;
import mvc.SelectionView;



public class GeoGrapher {
	
	public static Database data;

	/**
	 * Project #3
	 * CS 2334, 010
	 * 03/07/2014
	 * ID#'s
	 * 112887841
	 * 112873290
	 * 112915739
	 * <P>
	 * The main class that drives the program.
	 * </P>
	 * @version 1.0
	 * @throws IOExcpetion   If a file is not found
	 * @throws ClassNotFoundException     If a class is found as invalid.
	 */
	public static void main(String[] args) throws IOException, ClassNotFoundException 
	{
		data = new Database();
		//Database.initialize();     //ready the database
		//Database.interact();     //initiate user interaction
		//Database.initialize();
		SelectionView test = new SelectionView();
		RegionModel model = new RegionModel();
		RegionController controller = new RegionController();
		controller.setModel(model);
		controller.setView(test);
		test.setModel(model);
		//new AddDialog(Database.Region.PLACE);
	}//end main

}

